package com.sskj.trafficcontrol.service;

import com.sskj.trafficcontrol.model.pojo.TcUserOpenId;

/**
 * 用户邀请openid Service
 */
public interface UserOpenidService {
    /**
     * 用户注册
     * @param openid
     * @param inviCodeOPenId
     */
    void registUser(String openid, String inviCodeOPenId);

    /**
     * 根据用户Open_id 查询用户
     * @param openid
     * @return
     */
    TcUserOpenId getOpenId(String openid);
}
